package com.zkthink.ceres.order.vo;

import com.zkthink.ceres.order.entity.Comment;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("订单下的商品信息")
public class OrderProductVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("商品id")
    private Long productId;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("skuId")
    private Long skuId;

    @ApiModelProperty("sku图片")
    private String skuImg;

    @ApiModelProperty("sku规格名称拼接 - 颜色:红色 尺码:43")
    private String skuNameStr;

    @ApiModelProperty("购买数量")
    private Integer buyNum;

    @ApiModelProperty("sku的价格")
    private Long sellPrice;

    @ApiModelProperty("消费金额")
    private Long discountAmount;

    @ApiModelProperty("售后类型 1-退款 2-退货")
    private Integer returnType;

    @ApiModelProperty("售后状态")
    private Integer returnStatus;

    @ApiModelProperty("是否可以申请平台介入")
    private Integer canApplyIntervention;

    @ApiModelProperty("退款编号")
    private String returnCode;

    @ApiModelProperty("评价状态 0-待评价 1-已评价 2-不展示评价状态")
    private Integer commentStatus;

    @ApiModelProperty("评价对象")
    private Comment comment;

    @ApiModelProperty("追评对象")
    private Comment additionalComment;
}
